package com.ruoyi.project.game.topic.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 游戏专题对象 topic
 * 
 * @author shixiangwen
 * @date 2020-02-11
 */
public class Topic extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    @Excel(name = "null")
    private Long id;

    /** 专题名称 */
    @Excel(name = "专题名称")
    private String name;

    /** 专题图片 */
    @Excel(name = "专题图片")
    private String img;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 短描述 */
    @Excel(name = "短描述")
    private String shortDesc;

    /** 长描述 */
    private String longDesc;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setShortDesc(String shortDesc) 
    {
        this.shortDesc = shortDesc;
    }

    public String getShortDesc() 
    {
        return shortDesc;
    }
    public void setLongDesc(String longDesc) 
    {
        this.longDesc = longDesc;
    }

    public String getLongDesc() 
    {
        return longDesc;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("img", getImg())
            .append("status", getStatus())
            .append("sort", getSort())
            .append("shortDesc", getShortDesc())
            .append("longDesc", getLongDesc())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
